<%--
  Created by IntelliJ IDEA.
  User: zhu
  Date: 2019/5/14
  Time: 20:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8" />
    <title>登录</title>
    <link rel="stylesheet" href="logincss.css" />
</head>

<body>
<div class="top">登录&nbsp;</div>
<div class="content">
    <form action="http://localhost:8080/login_servlet" method="POST">
        <div class="login">
            <div class="title">用户登录</div>
            <div class="line">
                <img class="smallImg" src="img/icon1.png" />
                <input placeholder="请输入账号" type="text" name="username" required/>
            </div>
            <div class="line">
                <img class="smallImg" src="img/icon2.png" />
                <input placeholder="请输入密码" type="password" name="password" required/>
            </div>
            <button type="submit" class="logBut">登录</button>
            <br>
            <input type="image" src="img/dgut.jpg" onclick="location='http://localhost:8080/Servlet2'">

            <br/>
            <a href="register.jsp">点此注册</a>
        </div>
    </form>
</div>
</body>
</html>
